package com.ciaojian.core.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ciaojian.core.model.DistUser;
import com.ciaojian.core.model.vo.DistUserVo;
import org.apache.ibatis.annotations.Param;
import org.mapstruct.Mapper;

/**
 * @author oxiny
 */
@Mapper
public interface DistUserMapper extends BaseMapper<DistUser> {
    /**
     * 根据ID查找
     *
     * @param userId 用户ID
     * @return /
     */
    DistUserVo findByUserId(@Param("userId") Integer userId);
}
